//
//  BOTextField.h
//

#import <UIKit/UIKit.h>

@interface BOTextField : UITextField

/**
 设置textField

 @param placeholder 占位文字
 @param textColor 输入文字的颜色
 @param placeholderColor 占位文字的颜色
 @param textFont 字体大小
 @param leftImageName 显示图片的名字
 @param leftImageW 图片宽
 @param leftImageH 图片高
 @param maxChars 最多输多少位
 */
+ (id)setUpTextFieldFrame:(CGRect)frame Placeholder:(NSString *)placeholder textColor:(NSString *)textColor placeholderColor:(NSString *)placeholderColor textFont:(NSInteger)textFont leftImageName:(NSString *)leftImageName leftImageW:(CGFloat)leftImageW leftImageH:(CGFloat)leftImageH maxChars:(NSInteger)maxChars;

/**
 设置textField
 
 @param placeholder 占位文字
 @param textColor 输入文字的颜色
 @param placeholderColor 占位文字的颜色
 @param textFont 字体大小
 @param leftImageName 显示图片的名字
 @param leftHighlightedImgName 高亮显示图片的名字
 @param leftImageW 图片宽
 @param leftImageH 图片高
 @param maxChars 最多输多少位
 */
+ (id)setUpTextFieldFrame:(CGRect)frame Placeholder:(NSString *)placeholder textColor:(NSString *)textColor placeholderColor:(NSString *)placeholderColor textFont:(NSInteger)textFont leftImageName:(NSString *)leftImageName leftHighlightedImgName:(NSString *)leftHighlightedImgName leftImageW:(CGFloat)leftImageW leftImageH:(CGFloat)leftImageH maxChars:(NSInteger)maxChars;


/**
 设置textField
 
 @param placeholder 占位文字
 @param textColor 输入文字的颜色
 @param placeholderColor 占位文字的颜色
 @param textFont 字体大小
 @param leftTitle 显示项目标题
 @param leftTitleW 显示项目标题宽度
 @param leftImageH 图片高
 @param maxChars 最多输多少位
 */
+ (id)setUpTextFieldFrame:(CGRect)frame Placeholder:(NSString *)placeholder textColor:(NSString *)textColor placeholderColor:(NSString *)placeholderColor textFont:(NSInteger)textFont leftTitle:(NSString *)leftTitle leftTitleW:(CGFloat)leftTitleW leftImageH:(CGFloat)leftImageH maxChars:(NSInteger)maxChars;



@end
